<KitchenSinkTabs>
    name: "tabs"

    MDBoxLayout:
        orientation: "vertical"

        Toolbar:
            id: toolbar

        MDTabs:
            id: android_tabs
            tab_indicator_anim: False
            # background_color: app.theme_cls.primary_color
            tab_indicator_anim: True

        BoxLayout:
            size_hint_y: None
            height: "58dp"
            spacing: "5dp"
            padding: "5dp"

            MDCheckbox:
                size_hint: None, None
                size: "48dp", "48dp"
                state:"down"
                on_state:
                    root.switch_tabs_to_text(android_tabs) \
                    if self.state == "down" \
                    else root.switch_tabs_to_icon(android_tabs)

            MDLabel:
                text: "Use text tabs"

            MDRaisedButton:
                text:'Use Icon+Label'
                elevation: 4
                on_release: root.new_update_label(android_tabs)

            MDRaisedButton:
                text:'Toggle Title Icon Mode Lead|Top'
                elevation: 4
                on_release: root.update_mode(android_tabs)

            Widget:


<KitchenSinkTabItem@BoxLayout+MDTabsBase>
    allow_stretch: False

    FloatLayout:

        MDLabel:
            text: "Content"
            halign: "center"
            font_style: "H6"
